import { memo } from 'react';

const SingleText = memo((props: any) => {
  const { fontSize, color, lineHeight, align, text } = props.config;
  return <>
    <div style={{ fontSize, lineHeight, textAlign: align }}>{text}</div>
  </>
})

export default SingleText
